package prv.pursuivant.armory;

import java.io.IOException;

import prv.pursuivant.core.AllAchievements;
import prv.pursuivant.core.AllToons;
import prv.pursuivant.core.Toon;
import prv.pursuivant.core.ToonAchievements;

/**
 * 
 * @author Kwinto
 * 
 */
public interface Importer {

	/**
	 * Reads toon achievements from armory
	 * 
	 * @param toon
	 * @return List of Achievement for given toon
	 * @throws IOException
	 *             when anything goes wrong
	 */
	public ToonAchievements readAchievements(Toon toon) throws IOException;

	public AllAchievements readAllAchievements(AllToons toons)
			throws IOException;

}
